package com.rest.service.impl;

import com.rest.dao.RecipeDao;
import com.rest.dao.impl.RecipeDaoImpl;
import com.rest.entity.Recipe;
import com.rest.service.RecipeService;

import java.util.List;

public class RecipeServiceImpl implements RecipeService {
   private RecipeDao recipeDao=new RecipeDaoImpl();
    @Override
    public List<Recipe> list() {
        return this.recipeDao.list();
    }
}
